home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if "%1"=="?" goto :question
- if "%1"=="0" goto :spkr
- if "%1"=="1" goto :lpt1
- if "%1"=="2" goto :lpt2
- if "%1"=="3" goto :lpt3
- if "%1"=="" goto :autolocate
- :question
- echo To play through the internal speaker, type "RUN_ME 0".
- echo To play through an EAR-WIZARD on LPT1, type "RUN_ME 1".
- echo To play through an EAR-WIZARD on LPT2, type "RUN_ME 2".
- echo To play through an EAR-WIZARD on LPT3, type "RUN_ME 3".
- goto :exit
- :spkr
- fsspeak /S00 16572 cal00.165
- if ERRORLEVEL 15 goto :notrap
- if ERRORLEVEL 14 goto :tooslow
- fsspeak /P cal00.165 demo.voi
- goto :exit
- :lpt1
- fsspeak /S10 16572 cal10.165
- if ERRORLEVEL 15 goto :notrap
- if ERRORLEVEL 14 goto :tooslow
- fsspeak /P cal10.165 demo.voi
- goto :exit
- :lpt2
- fsspeak /S20 16572 cal20.165
- if ERRORLEVEL 15 goto :notrap
- if ERRORLEVEL 14 goto :tooslow
- fsspeak /P cal20.165 demo.voi
- goto :exit
- :lpt3
- fsspeak /S30 16572 cal30.165
- if ERRORLEVEL 15 goto :notrap
- if ERRORLEVEL 14 goto :tooslow
- fsspeak /P cal30.165 demo.voi
- goto :exit
- :autolocate
- fsspeak /SA0 16572 cala0.165
- if ERRORLEVEL 15 goto :notrap
- if ERRORLEVEL 14 goto :tooslow
- fsspeak /P cala0.165 demo.voi
- goto :exit
- :notrap
- echo To run under Windows you must place "TrapTimerPorts=False" in the
- echo [386enh] section of SYSTEM.INI.
- goto :exit
- :tooslow
- echo This computer is too slow to run this program correctly.
- :exit
-